import type { ActionProps } from "~/types/enum";

export enum HolidayApi {
  GetList = "api/Holiday/GetList",
  AddorUpdate = "api/Holiday/AddorUpdate",
  CheckData = "api/Holiday/CheckName",
  Delete = "api/Holiday/Delete",
  Reduction = "api/Holiday/Reduction",
  GetDetail = "api/Holiday/GetListb"
}

export class HolidayAction {
  actionPros: ActionProps = {
    addCode: "HolidayAdd",
    deleteCode: "HolidayDelete",
    updateCode: "HolidayUpdate",
    queryCode: "HolidayGetList",
    importCode: "",
    exportCode: "HolidayExport",
    downImportCode: "",
    reductionCode: "HolidayReduction",
    recyclebinCode: "HolidayRecyclebin"
  };
}
export interface HolidayInfo {
  hYear: any;
  hYearb: any;
  hName: string;
  hsTime: any;
  heTime: any;
  hsTimeb: any;
  heTimeb: any;
}
